﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dapper.Orm;

namespace Dapper.Modle
{
    [TableName("Comments")]

    [PrimaryKey("CoId", autoIncrement = false)]

    [ExplicitColumns]
    public partial class Comment
    {

        [Column]
        public int CoId { get; set; }

        [Column]
        public int? CId { get; set; }

        [Column]
        public DateTime? CreateTime { get; set; }

        [Column]
        public string Author { get; set; }

        [Column]
        public int? AuthorId { get; set; }

        [Column]
        public int? OwnerId { get; set; }

        [Column]
        public string Mail { get; set; }

        [Column]
        public string Url { get; set; }

        [Column]
        public string Ip { get; set; }

        [Column]
        public string Agent { get; set; }

        [Column]
        public string Text { get; set; }

        [Column]
        public string Type { get; set; }

        [Column]
        public string Status { get; set; }

        [Column]
        public int? Parent { get; set; }

    }

}
